package com.sj.common.dto.article;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: xiaoqi
 * Date: 2022-03-22
 * Time: 下午 19:58
 * Description: 管理端查询博客列表
 *
 * @author xiaoqi
 * @since 2022-03-22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("查询管理端博客列表参数")
public class ArticleQueryParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("关键字")
    private String keyword;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("标签名")
    private String labelName;

    @ApiModelProperty("当前页")
    private Integer current;

    @ApiModelProperty("每页显示条数")
    private Integer size;
}